package com.java.zhuiyun.api.book_mark.service;

import com.java.zhuiyun.api.book_mark.entity.BookMark;
import com.java.zhuiyun.common.response.CommonResult;
import org.apache.ibatis.annotations.Select;

import java.util.List;

import java.util.Date;

/**
 * @InterfaceName bookMarkService
 * @Description TODO
 * @Author wuwan
 * @Date 2023/8/31 10:25
 **/
public interface BookMarkService {
    /*
    * @Author wuwan
    * @Description 用户收藏点击
    * @Date 2023/8/31 10:29
    * @Return
    * @param null
    */
    CommonResult addBookMark(Integer uid, Integer cid);
    /*
    * @Author wuwan
    * @Description 查询收藏课程
    * @Date 2023/8/31 16:57
    * @Return
    * @param null
    */
    CommonResult getBookMark(Integer uid);
    /*
    * @Author wuwan
    * @Description 删除个人信息中课程
    * @Date 2023/8/31 16:58
    * @Return
    * @param null
    */
    CommonResult delBookMark(Integer id);




    /*
    * @Author wuwan
    * @Description 删除课程收藏 // 王旭用
    * @Date 2023/8/31 16:58
    * @Return
    * @param null
    */
    CommonResult delBookMarkCourse(Integer uid, Integer cid);
    /*
    * @Author wuwan
    * @Description 是否收藏课程
    * @Date 2023/9/3 20:15
    * @Return
    * @param null
    */
    CommonResult getUser(Integer uid,Integer cid);
}
